www.gusucode.com > 云网互动影视系统(12套模版和资源联盟) 6.2 > 云网互动影视系统(12套模版和资源联盟) 6.2.4/免费版/Admin/Labeling/Feature.asp
<html> <head> <META content=ywnt,云网互动影视管理系统 name=keywords> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>云网互动影视6.0--专题导航标签</title> <LINK href="../css/css.css" type=text/css rel=stylesheet> </head> <BODY leftMargin=0 topMargin=0 scroll=yes MARGINHEIGHT="0" MARGINWIDTH="0"> <script language="JavaScript" src="../YWNT_TMS_Inc/YWNT_TMS_Common.js"></script> <!--#include file="../../Conn.asp" --> <!--#include file="../YWNT_TMS_inc/YWNT_TMS_Function.asp" --> <table class=table cellspacing=1 cellpadding=3 width="98%" align=center border=0> <tbody> <tr> <td colspan="4" class=xingmu>专题导航标签</td> </tr> <form method="post" name="FeaturelebForm"> <tr> <td width="19%" height=32 align="right" class="hback">栏目样式:</td> <td width="82%" height=32 colspan="3" class="hback"><select name="Style" onChange="ChoosePic(this.value);ChooseDate(this.value);" style="width: 150px;"> <option value="1">图片样式</option> <option value="2">文字样式</option> </select></td> </tr> <tr> <td colspan="4" class="hback" id="PreviewArea"> </td> </tr> <tr> <td height=32 align="right" class="hback">导航数量:</td> <td height=32 colspan="3" class="hback"><input name="Volume" type="text" value="4"></td> </tr> <tr> <td height=34 align="right" class="hback">并排数量:</td> <td height=34 colspan="3" class="hback"><input name="TdVolume" type="text" value="1"></td> </tr> <tr> <td height=34 align="right" class="hback">Css样式:</td> <td height=34 colspan="3" class="hback"><input name="FStyle" type="text" value=""></td> </tr> <tr> <td height=32 align="right" class="hback">新开窗口:</td> <td height=32 colspan="3" class="hback"><select name="OpenStyle" style="width: 150px;"> <option value="1">是新窗口打开</option> <option value="2">否原窗口打开</option> </select></td> </tr> <TR> <TD height=32 align="right" class="hback">图片大小:</TD> <TD colspan="3" class="hback">宽度: <input name="picwidth" type="text" value="170" size="5"> 高度: <input name="picheight" type="text" value="60" size="5"></TD> </TR> <tr> <td height=32 colspan="4" align="center" class="hback"><input type="button" onClick="ok(this.form)" name="Submit" value="添加"></td> </tr> </form> </tbody> </table> <script language="JavaScript"> function ok(obj) { var retV = '{$featureleb('; retV+= obj.Style.value + ','; retV+= obj.Volume.value + ','; retV+= obj.TdVolume.value + ','; retV+= formvalue2(obj.FStyle.value) + ','; retV+= formvalue(obj.picwidth.value) + ','; retV+= formvalue(obj.picheight.value) + ','; retV+= obj.OpenStyle.value + ')'; retV+='}'; InsertLabel(retV) } function formvalue(namevalue) { if(namevalue=="") namevalue='""'; return namevalue; } function formvalue2(namevalue2) { if(namevalue2=="") { namevalue2='""'; } else { namevalue2='"'+namevalue2+'"' } return namevalue2; } ChoosePic("1") function ChoosePic(style_id) { if(style_id=="") style_id=1; document.all.PreviewArea.innerHTML="<img src='Style/Feature"+style_id+".gif' />" } function ChooseDate(DateStr) { if (DateStr==2) { document.FeaturelebForm.picwidth.disabled=true; document.FeaturelebForm.picheight.disabled=true; } else { document.FeaturelebForm.picwidth.disabled=false; document.FeaturelebForm.picheight.disabled=false; } } <%if Request.QueryString("text")=1 then%> function InsertLabel(LabelContent) { window.returnValue=LabelContent; window.close(); } window.onunload=SetReturnValue; function SetReturnValue() { if (typeof(window.returnValue)!='string') window.returnValue=''; } <%else%> function InsertLabel(LabelContent) { var obj=dialogArguments.oUtil.obj; obj.insertHTML(LabelContent) window.close(); } <%end if%> </script> </BODY></HTML>